//-----------------------------------------------------------
//
//-----------------------------------------------------------
class MutKillzed extends Mutator;

function ActionRequested(PlayerReplicationInfo PRI)
{
    local KFPlayerReplicationInfo KFPRI;

    KFPRI =  KFPlayerReplicationInfo(PRI);
    if (KFPRI == None)
        return;
	
	if ( KFGameType(Level.Game).TotalMaxMonsters < 10 && KFGameType(Level.Game).NumMonsters == KFGameType(Level.Game).TotalMaxMonsters )
		KillZeds();
}

function KillZeds()
{
    local KFMonster Mon;

	foreach DynamicActors(class'KFMonster', Mon)
	{
        if ( Mon.IsA('ZombieScrake') || Mon.IsA('ZombieFleshpound') || Mon.IsA('ZombieBoss') || Mon.IsA('DKShiver') || Mon.IsA('DKScrake')
			|| Mon.IsA('DKFleshpound') || Mon.IsA('DKBrute') || Mon.IsA('DKPatriarch') )
			continue;
		Mon.KilledBy(Mon);
		Mon.Controller.Destroy();
	}
}

defaultproperties
{
}
